﻿@model IList<ProductTagModel>
@using Nop.Web.Models.Catalog;
@if (Model != null && Model.Count > 0)
{
    <div class="product-tags-box">
       
        <div class="product-tags-list">
            <ul>
                @for (int i = 0; i < Model.Count; i++)
                {
                    <li class="tag">
                        <a href="@Url.RouteUrl("ProductsByTag", new { productTagId = Model[i].Id, SeName = Model[i].SeName })" class="producttag">
                            @Model[i].Name @T("Products.Tags.Count", Model[i].ProductCount)</a></li>
                    if (i != Model.Count - 1)
                    {
                    <li class="separator">,</li>
                    }
                }
            </ul>
        </div>
    </div>

}